﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.ServiceModel;
using IssueTracker.Business.Entity;

namespace IssueTracker.Workflow.Process
{
    [ServiceContract]
	public interface IIssueProcess
	{
        [OperationContract(IsInitiating = true)]
        void ProcessIssue(Issue issue);

        [OperationContract(IsOneWay = true)]
        void IssueValidated();

        [OperationContract(IsOneWay = true)]
        void IssueRejected();

        [OperationContract(IsOneWay = true)]
        void IssueFixed();


        [OperationContract(IsOneWay = true)]
        void SolutionApproved();


        [OperationContract(IsOneWay = true)]
        void SolutionRejected();


	}
}
